class BaseData {
  var code;
  var msg;
  var data;

  BaseData(this.code, this.msg, this.data);

  BaseData.fromJson(Map<String, dynamic> json) {
    code = json['code'];
    msg = json['msg'];
    data = json['data'];
  }

  Map<String, dynamic> toJson(BaseData instance) =>
      <String, dynamic>{'code': instance.code, 'msg': instance.msg, 'data': instance.data};
}
